package com.example.demo.dao;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    @TableId
    private int id;
    @TableField("account")
    private String account;
    @TableField("name")
    private String name;
    @TableField("password1")
    private String password;
    @TableField("age")
    private int age;
    @TableField("sex")
    private int sex;
    @TableField("phone")
    private String phone;
    @TableField("role_id")
    private int roleId;
    @TableField("isValid")
    private String isValid;
}
